package com.test.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.test.domain.AdminUser;
import com.test.mapper.AdminUserMapper;

@Service
public class AdminUserService {
	@Autowired
	public AdminUserMapper adminUserMapper;
	
	public List<AdminUser> getAll() {
		return adminUserMapper.getAll();
	}

	public AdminUser login(AdminUser user) {
		user.setUserId("123456");
		user.setUserName("testName");
		return null;
	}

}
